package model

type DrawList map[int32]*Draw
type Draw struct {
	DrawTime int64 `json:"drawTime" bson:"drawTime"` //Milli second
	AddPoint int64 `json:"addPoint" bson:"addPoint"`
}

func (this *Draw) Clone() *Draw {
	r := *this
	return &r
}

func (this DrawList) Clone() DrawList {
	if this == nil {
		return DrawList{}
	}
	r := make(DrawList, len(this))
	for k, v := range this {
		r[k] = v.Clone()
	}
	return r
}
